package com.kzc.entity;

import com.kzc.util.DateUtils;

/**
 * Author：柯尊诚
 * Created by anyleKe on 2016/1/30.
 */
public class Member {

    public static enum Gender {
        男,
        女
    }

    private Integer id;
    private String nickname;
    private String password;
    private String phone;
    private Gender gender;
    private String avatar;
    private String device;
    private String qtoken;
    private String e_card;
    private String dormoitory_no;
    private String student_no;
    private String student_pwd;
    private String student_name;
    private String major;
    private String create_time = DateUtils.getDateTime();
    private String update_time = DateUtils.getDateTime();

    public Member() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Gender getGender() {
        return gender;
    }

    public void setGender(Gender gender) {
        this.gender = gender;
    }

    public void setGender(String gender) {
        this.gender = Gender.valueOf(gender);
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getQtoken() {
        return qtoken;
    }

    public void setQtoken(String qtoken) {
        this.qtoken = qtoken;
    }

    public String getE_card() {
        return e_card;
    }

    public void setE_card(String e_card) {
        this.e_card = e_card;
    }

    public String getDormoitory_no() {
        return dormoitory_no;
    }

    public void setDormoitory_no(String dormoitory_no) {
        this.dormoitory_no = dormoitory_no;
    }

    public String getStudent_no() {
        return student_no;
    }

    public void setStudent_no(String student_no) {
        this.student_no = student_no;
    }

    public String getStudent_pwd() {
        return student_pwd;
    }

    public void setStudent_pwd(String student_pwd) {
        this.student_pwd = student_pwd;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getStudentName() {
        return student_name;
    }

    public void setStudentName(String student_name) {
        this.student_name = student_name;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
